﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SPlayerScore extends Object
    {
        public var entityId:SEntityId;
        public var name:String;
        public var camp:int;
        public var force:int;
        public var sex:int;
        public var vipLv:int;
        public var combat:int;
        public var killPlayer:int;
        public var assist:int;
        public var continuityKill:int;
        public var beKilled:int;
        public var honor:int;
        public var forceHonor:int;
        public var continuityHonour:int;
        public var taskHonor:int;
        public var totalHonor:int;

        public function SPlayerScore()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.entityId.__write(param1);
            param1.writeString(this.name);
            param1.writeByte(this.camp);
            param1.writeByte(this.force);
            param1.writeByte(this.sex);
            param1.writeInt(this.vipLv);
            param1.writeInt(this.combat);
            param1.writeInt(this.killPlayer);
            param1.writeInt(this.assist);
            param1.writeInt(this.continuityKill);
            param1.writeInt(this.beKilled);
            param1.writeInt(this.honor);
            param1.writeInt(this.forceHonor);
            param1.writeInt(this.continuityHonour);
            param1.writeInt(this.taskHonor);
            param1.writeInt(this.totalHonor);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(param1);
            this.name = param1.readString();
            this.camp = param1.readByte();
            this.force = param1.readByte();
            this.sex = param1.readByte();
            this.vipLv = param1.readInt();
            this.combat = param1.readInt();
            this.killPlayer = param1.readInt();
            this.assist = param1.readInt();
            this.continuityKill = param1.readInt();
            this.beKilled = param1.readInt();
            this.honor = param1.readInt();
            this.forceHonor = param1.readInt();
            this.continuityHonour = param1.readInt();
            this.taskHonor = param1.readInt();
            this.totalHonor = param1.readInt();
            return;
        }// end function

    }
}
